package edu.sctu.alex.projectPratice.subwaySystem2.dataUntil;

import edu.sctu.alex.projectPratice.subwaySystem2.Attribute.*;
import edu.sctu.alex.projectPratice.subwaySystem2.Attribute.Package;
import edu.sctu.alex.projectPratice.subwaySystem2.Passenger;

/**
 * Created by user03 on 2015/6/7.
 */
public class InfoSet {

    public Passenger[] setPassenger() {



       Package pack =  new Package();
        pack.setPackageName("棒棒糖");
        pack.setPackageType("安全");

        Water water = new Water();
        water.setWaterName("可口可乐");
        water.setWaterType("安全");

        Card card = new Card();
        card.setBalance(10);

        Route route = new Route();
        route.setStartStation("龙泉");
        route.setEndStation("茶店子");

        Passenger passenger1 = new Passenger();

        passenger1.setName("杨旭");
        passenger1.setAction("行走");
        passenger1.setaPackage(pack);
        passenger1.setWater(water);
        passenger1.setCard(card);
        passenger1.setRoute(route);




        Passenger[]  passengers  = {passenger1};

        return passengers;
    }
}
